/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package anwendungskern.mitarbeiterkomponente;

/**
 *
 * @author Deckard
 */
public class EmailadresseTyp {
    
    final String name, server, domain;
    
    public EmailadresseTyp(String name, String server, String domain){
        this.name = name;
        this.server = server;
        this.domain = domain;
    }
    
    public String getEmailAdresse(){
        return this.toString();
    }
    
    public String toString(){
        return this.name +"@"+this.server+"."+this.domain;
    }
    
}
